It occurs when a coronary artery becomes obstructed, resulting in a decrease in the supply of oxygenated blood to a portion of the heart muscle.